﻿using RBAC.LuFang.Domain;
using RBAC.LuFang.Domain.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.LuFang.Domin.Services
{
    public interface ILeaveapplicationService
    {
        Task<int> AddLeaveapplication(Leaveapplication leaveapplication);//添加请假
        Task<List<GetLeaveapplicationFanJWTDTO>> GetLeaveapplicationFanJWT(int uid);//反填用户名
        Task<LeavPage> GetLeaveapplication(int uid,int pageindex,int pagesize,string ?kdate,string?sdate,string ?state,string ?leavname);//请假列表
        Task<int> DelLeaveapplication(int leavid);//请假删除
        Task<Leaveapplication> FanLeaveapplication(int leavid);// 反弹
        Task<int> UpdShenPiLeaveapplication(int leavid,string State);//审批修改
        Task<int> Upd(Leaveapplication leaveapplication);//请假修改

    }
}
